﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ModuloComplementario.aspx.vb"
    Inherits="Sistema_ModuloComplementario" MasterPageFile="~/Library/Site.master" %>

<%@ Register Src="../CustomControls/Municipio.ascx" TagName="Municipio" TagPrefix="uc1" %>
<%@ Register src="../CustomControls/EncabezadoModulo.ascx" tagname="EncabezadoModulo" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
    <style type="text/css">
        .style15
        {
            height: 20px;
        }
        .style16
        {
            width: 100%;
        }
        .style19
        {
        }
        .style20
        {
            width: 228px;
            text-align: left;
        }
        .style22
        {
            text-align: left;
            width: 334px;
        }
        .style24
        {
            text-align: left;
            width: 226px;
        }
        .style25
        {
        }
        .style26
        {
            text-align: center;
            width: 78px;
        }
        .style28
        {
            text-align: left;
            width: 310px;
        }
        .style29
        {
            width: 217px;
        }
        .style30
        {
            text-align: left;
            width: 191px;
        }
        .style31
        {
            text-align: left;
        }
        .style33
        {
            width: 306px;
            height: 28px;
            text-align: left;
        }
        .style34
        {
            height: 28px;
        }
        .style35
        {
            text-align: left;
            width: 240px;
        }
        .style36
        {
            width: 197px;
        }
        .style38
        {
            text-align: left;
            width: 160px;
        }
        .style39
        {
            text-align: left;
            width: 147px;
        }
        .style40
        {
            text-align: left;
            width: 306px;
        }
        .style41
        {
            text-align: left;
            width: 302px;
        }
        .style43
        {
            text-align: left;
            width: 307px;
        }
        .style44
        {
            width: 220px;
        }
        .style45
        {
            text-align: left;
            width: 233px;
        }
        .style46
        {
            text-align: left;
            width: 195px;
        }
    </style>
    <script>


        function esquemavacunacion() { 
        
        var jmeses= <%=mesescumplidos %>
        
        ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 
        if(jmeses>= 2){
        if(jmeses>= 2 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true){
     
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
            

        }else{
     
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 4){
        if(jmeses>=4 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true){
        
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
       
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////   
        if(jmeses>= 6){
        if(jmeses >= 6 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true){
       
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
  
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 8){
        if(jmeses >= 8 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true && document.getElementById('MainContent_rbDPTTD_0').checked == true && document.getElementById('MainContent_rbHaemophilusTD_0').checked == true && document.getElementById('MainContent_rbHepatitisBTD_0').checked == true && document.getElementById('MainContent_rbVOPTD_0').checked == true){
  
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
   
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 14){
        if(jmeses >= 14 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true && document.getElementById('MainContent_rbDPTTD_0').checked == true && document.getElementById('MainContent_rbHaemophilusTD_0').checked == true && document.getElementById('MainContent_rbHepatitisBTD_0').checked == true && document.getElementById('MainContent_rbVOPTD_0').checked == true && document.getElementById('MainContent_rbTripleViralDU_0').checked == true &&  document.getElementById('MainContent_rbFiebreAmarillaDU_0').checked == true) {
      
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
       
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 20){
        if(jmeses >= 20 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true && document.getElementById('MainContent_rbDPTTD_0').checked == true && document.getElementById('MainContent_rbHaemophilusTD_0').checked == true && document.getElementById('MainContent_rbHepatitisBTD_0').checked == true && document.getElementById('MainContent_rbVOPTD_0').checked == true && document.getElementById('MainContent_rbTripleViralDU_0').checked == true &&  document.getElementById('MainContent_rbFiebreAmarillaDU_0').checked == true && document.getElementById('MainContent_rbDPTPR_0').checked == true && document.getElementById('MainContent_rbVOPPR_0').checked == true) {
   
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{

        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 25){
        if(jmeses >= 25 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true && document.getElementById('MainContent_rbDPTTD_0').checked == true && document.getElementById('MainContent_rbHaemophilusTD_0').checked == true && document.getElementById('MainContent_rbHepatitisBTD_0').checked == true && document.getElementById('MainContent_rbVOPTD_0').checked == true && document.getElementById('MainContent_rbTripleViralDU_0').checked == true &&  document.getElementById('MainContent_rbFiebreAmarillaDU_0').checked == true && document.getElementById('MainContent_rbDPTPR_0').checked == true && document.getElementById('MainContent_rbVOPPR_0').checked == true && document.getElementById('MainContent_rbInfluenzaPD_0').checked == true && document.getElementById('MainContent_rbInfluenzaSD_0').checked == true) {
      
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
     
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 60){
        if(jmeses >= 60 && document.getElementById('MainContent_rbBCG_0').checked == true && document.getElementById('MainContent_rbHepatitisBRN_0').checked == true && document.getElementById('MainContent_rbDPTPD_0').checked == true && document.getElementById('MainContent_rbHaemophilusPD_0').checked == true && document.getElementById('MainContent_rbHepatitisBPD_0').checked == true && document.getElementById('MainContent_rbVOPPD_0').checked == true && document.getElementById('MainContent_rbDPTSD_0').checked == true && document.getElementById('MainContent_rbHaemophilusSD_0').checked == true &&  document.getElementById('MainContent_rbHepatitisBSD_0').checked == true && document.getElementById('MainContent_rbVOPSD_0').checked == true && document.getElementById('MainContent_rbDPTTD_0').checked == true && document.getElementById('MainContent_rbHaemophilusTD_0').checked == true && document.getElementById('MainContent_rbHepatitisBTD_0').checked == true && document.getElementById('MainContent_rbVOPTD_0').checked == true && document.getElementById('MainContent_rbTripleViralDU_0').checked == true &&  document.getElementById('MainContent_rbFiebreAmarillaDU_0').checked == true && document.getElementById('MainContent_rbDPTPR_0').checked == true && document.getElementById('MainContent_rbVOPPR_0').checked == true && document.getElementById('MainContent_rbInfluenzaPD_0').checked == true && document.getElementById('MainContent_rbInfluenzaSD_0').checked == true && document.getElementById('MainContent_rbDPTSR_0').checked == true && document.getElementById('MainContent_rbVOPSR_0').checked == true && document.getElementById('MainContent_rbSRPR_0').checked == true) {
    
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
  
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}

        if(jmeses<= 1){
        if(jmeses<= 1){
   
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = true
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = false
        }else{
      
        document.getElementById('MainContent_rbesquemavacunacion_0').checked = false
        document.getElementById('MainContent_rbesquemavacunacion_1').checked = true
        }}



        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

        if(jmeses>= 120){
        return
        }

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 60){
        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;
        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
        if(jmeses>= 18){
        
        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;
        
        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    
        if(jmeses>= 12){

        document.getElementById('MainContent_rbDPTPR_0').disabled = true;
        document.getElementById('MainContent_rbVOPPR_0').disabled = true;
        
        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;

        document.getElementById('MainContent_rbDPTPR_1').disabled = true;
        document.getElementById('MainContent_rbVOPPR_1').disabled = true;

        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    
        if(jmeses>= 6){

        document.getElementById('MainContent_rbTripleViralDU_0').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_0').disabled = true;
        document.getElementById('MainContent_rbDPTPR_0').disabled = true;
        document.getElementById('MainContent_rbVOPPR_0').disabled = true;

        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_1').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_1').disabled = true;
        document.getElementById('MainContent_rbDPTPR_1').disabled = true;
        document.getElementById('MainContent_rbVOPPR_1').disabled = true;

        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }

        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    
        if(jmeses>= 4){
        document.getElementById('MainContent_rbDPTTD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_0').disabled = true;
        document.getElementById('MainContent_rbVOPTD_0').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_0').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_0').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_0').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_0').disabled = true;
        document.getElementById('MainContent_rbDPTPR_0').disabled = true;
        document.getElementById('MainContent_rbVOPPR_0').disabled = true;

        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;

        document.getElementById('MainContent_rbDPTTD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_1').disabled = true;
        document.getElementById('MainContent_rbVOPTD_1').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_1').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_1').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_1').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_1').disabled = true;
        document.getElementById('MainContent_rbDPTPR_1').disabled = true;
        document.getElementById('MainContent_rbVOPPR_1').disabled = true;

        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }
        
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    
        if(jmeses>= 2){
        
        document.getElementById('MainContent_rbDPTSD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusSD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBSD_0').disabled = true;
        document.getElementById('MainContent_rbVOPSD_0').disabled = true;

        document.getElementById('MainContent_rbDPTTD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_0').disabled = true;
        document.getElementById('MainContent_rbVOPTD_0').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_0').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_0').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_0').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_0').disabled = true;
        document.getElementById('MainContent_rbDPTPR_0').disabled = true;
        document.getElementById('MainContent_rbVOPPR_0').disabled = true;

        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;
        
        document.getElementById('MainContent_rbDPTSD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusSD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBSD_1').disabled = true;
        document.getElementById('MainContent_rbVOPSD_1').disabled = true;

        document.getElementById('MainContent_rbDPTTD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_1').disabled = true;
        document.getElementById('MainContent_rbVOPTD_1').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_1').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_1').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_1').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_1').disabled = true;
        document.getElementById('MainContent_rbDPTPR_1').disabled = true;
        document.getElementById('MainContent_rbVOPPR_1').disabled = true;

        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }
        
        //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////    
        if(jmeses<= 1){
        document.getElementById('MainContent_rbDPTPD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusPD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBPD_0').disabled = true;
        document.getElementById('MainContent_rbVOPPD_0').disabled = true;

        document.getElementById('MainContent_rbDPTSD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusSD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBSD_0').disabled = true;
        document.getElementById('MainContent_rbVOPSD_0').disabled = true;

        document.getElementById('MainContent_rbDPTTD_0').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_0').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_0').disabled = true;
        document.getElementById('MainContent_rbVOPTD_0').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_0').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_0').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_0').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_0').disabled = true;
        document.getElementById('MainContent_rbDPTPR_0').disabled = true;
        document.getElementById('MainContent_rbVOPPR_0').disabled = true;

        document.getElementById('MainContent_rbDPTSR_0').disabled = true;
        document.getElementById('MainContent_rbVOPSR_0').disabled = true;
        document.getElementById('MainContent_rbSRPR_0').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_0').disabled = true;

        document.getElementById('MainContent_rbDPTPD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusPD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBPD_1').disabled = true;
        document.getElementById('MainContent_rbVOPPD_1').disabled = true;

        document.getElementById('MainContent_rbDPTSD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusSD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBSD_1').disabled = true;
        document.getElementById('MainContent_rbVOPSD_1').disabled = true;

        document.getElementById('MainContent_rbDPTTD_1').disabled = true;
        document.getElementById('MainContent_rbHaemophilusTD_1').disabled = true;
        document.getElementById('MainContent_rbHepatitisBTD_1').disabled = true;
        document.getElementById('MainContent_rbVOPTD_1').disabled = true;

        document.getElementById('MainContent_rbInfluenzaPD_1').disabled = true;
        document.getElementById('MainContent_rbInfluenzaSD_1').disabled = true;

        document.getElementById('MainContent_rbTripleViralDU_1').disabled = true;
        document.getElementById('MainContent_rbFiebreAmarillaDU_1').disabled = true;
        document.getElementById('MainContent_rbDPTPR_1').disabled = true;
        document.getElementById('MainContent_rbVOPPR_1').disabled = true;

        document.getElementById('MainContent_rbDPTSR_1').disabled = true;
        document.getElementById('MainContent_rbVOPSR_1').disabled = true;
        document.getElementById('MainContent_rbSRPR_1').disabled = true;

        document.getElementById('MainContent_rbFiebreamarillaRef_1').disabled = true;
        return
        }
}


        function mostrarmensaje(Titulo,mensaje, tipomensaje ) {
            showDialog(Titulo, mensaje, tipomensaje)
        }
        function redireccionar() {
            var pagina = 'PersonasConsulta.aspx?idPersona=<%= hdidpersona.value %>&idhogar=<%=hdidhogar.value %> '
            window.location = pagina

        }  
                         </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:HiddenField ID="hdIdvisita" runat="server" Value="0" />
    <asp:HiddenField ID="hdIdPersona" runat="server" Value="0" />
    <asp:HiddenField ID="hdIdhogar" runat="server" Value="0" />



    <asp:HiddenField ID="hdmesescumplidos" runat="server" Value="0" />



    <uc2:EncabezadoModulo ID="EncabezadoModulo1" runat="server" />



    <br />
    <div align="left">
        <table border="1" width="100%">
            <tr>
                <td class="style15">
                    <center>
                        <h1>
                            MODULO COMPLEMENTARIO</h1>
                        <p>
                            <asp:Label ID="Label1" runat="server" Font-Bold="False" Font-Size="20" ForeColor="#990000"
                                Text="La persona no aplica para el formulario por la edad que tiene" Visible="false"></asp:Label>
                        </p>
                    </center>
                    <asp:Button ID="Button1" runat="server" CausesValidation="false" CssClass="boton"
                        Text="Volver Atras" Visible="false" />
                </td>
            </tr>
            <thead>
                <tr>
                    <th>
                        VACUNACION&nbsp; (Solo niñas/os menores de 6 años)&nbsp; (Verificar con el carné
                        de vacunación) 

                        
                      <div id="contentmsg" runat="server">
                      </div>




                            <br />
                            <br />
                        
                    </th>
                </tr>
            </thead>
        </table>
        <asp:Panel runat="server" ID="PanelEdicion" Enabled="true">
            <table border="1" class="style16">
                <tr>
                    <td colspan="4"><div class="error"><asp:Label runat="server" ID="lblinformacion"></asp:Label> </div>
                        <asp:CustomValidator ID="CustomValidator1" runat="server" class="error" 
                            Display="Dynamic" ErrorMessage="CustomValidator"></asp:CustomValidator>

                    </td>
                    
                </tr>
                <tr>
                    <td class="style22">
                        1.) Antituberculosa - BCG (Recién nacido)<br /> <strong>Dosis Única</strong>
                    </td>
                    <td class="style36">
                        <asp:RadioButtonList ID="rbBCG" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                        <br />
                        <a href="#" 
                            onclick="open_o(&quot;Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&amp;campo=rbBCG&amp;idrespuesta=<%= iderespuesta%>&quot;,600,250 );">
                        Observaciones</a>
                    </td>
                    <td class="style20">
                        2.) Hepatitis B (Recién nacido)<br /> <strong>Dosis: Recién nacido</strong>
                    </td>
                    <td class="style19">
                        <asp:RadioButtonList ID="rbHepatitisBRN" runat="server" 
                            RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                        <br />
                        <a href="#" 
                            onclick="open_o(&quot;Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&amp;campo=rbHepatitisBRN&amp;idrespuesta=<%= iderespuesta%>&quot;,600,250 );">
                        Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style25" colspan="3">
                        <strong>A Partir de los 2 meses</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style26" rowspan="3">
                        <strong>PENTAVALENTE*</strong>
                    </td>
                    <td class="style35">
                        3.) Difteria - tosferina - tétanos (DPT)<br />
                        <strong>Dosis: Primera</strong> 
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbDPTPD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbDPTPD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style35">
                        4.) Haemophilus influenzae tipo b<br />
                        <strong style="text-align: center">Dosis: Primera</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHaemophilusPD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                             <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHaemophilusPD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style35">
                        5.) Hepatitis B<br />
                        <strong>Dosis: Primera<br />
                        </strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHepatitisBPD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHepatitisBPD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style26">
                        &nbsp;
                    </td>
                    <td class="style35">
                        6.) Vacuna oral de polio (VOP)<br />
                        <strong>Dosis: Primera</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbVOPPD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbVOPPD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style25" colspan="3">
                        <strong>A Partir de los 4 meses</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style26" rowspan="3">
                        <strong>PENTAVALENTE*</strong>
                    </td>
                    <td class="style45">
                        7.) Difteria - tosferina - tétanos (DPT)<br />
                        <strong>Dosis: Segunda</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbDPTSD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbDPTSD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style45">
                        8.) Haemophilus influenzae tipo b<br />
                        <strong>Dosis: Segunda</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHaemophilusSD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                             <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHaemophilusSD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style45">
                        9.) Hepatitis B<br />
                        <strong>Dosis: Segunda<br />
                        </strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHepatitisBSD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHepatitisBSD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style26">
                        &nbsp;
                    </td>
                    <td class="style45">
                        10.) Vacuna oral de polio (VOP)<br />
                        <strong>Dosis: Segunda</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbVOPSD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbVOPSD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style25" colspan="3">
                        <strong>A Partir de los 6 meses</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style26" rowspan="3">
                        <strong>PENTAVALENTE*</strong>
                    </td>
                    <td class="style24">
                        11.) Difteria - tosferina - tétanos (DPT)<br />
                        <strong>Dosis: Tercera</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbDPTTD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbDPTTD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style24">
                        12.) Haemophilus influenzae tipo b<br />
                        <strong>Dosis: Tercera</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHaemophilusTD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                             <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHaemophilusTD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style24">
                        13.) Hepatitis B<br />
                        <strong>Dosis: Tercera<br />
                        </strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbHepatitisBTD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbHepatitisBTD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style26">
                        &nbsp;
                    </td>
                    <td class="style24">
                        14.) Vacuna oral de polio (VOP)<br />
                        <strong>Dosis: Tercera</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbVOPTD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbVOPTD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style2" colspan="3">
                        <strong>De 6&nbsp; a 23 meses</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style38" rowspan="2">
                        <br />
                        15.) Vacuna de influenza
                    </td>
                    <td class="style39">
                        <strong>Dosis: Primera</strong>
                    </td>
                    <td class="style19">
                        <asp:RadioButtonList ID="rbInfluenzaPD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                             <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbInfluenzaPD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style39">
                        <strong>Dosis: Segunda</strong>
                    </td>
                    <td class="style19">
                        <asp:RadioButtonList ID="rbInfluenzaSD" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbInfluenzaSD&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style2" colspan="4">
                        <strong>A los 12 meses</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style28">
                        16.) Triple Viral<br />
                        Sarampión rubéola paperas (SRP)<br />
                        <strong>Dosis: Única</strong>
                    </td>
                    <td class="style29">
                        <asp:RadioButtonList ID="rbTripleViralDU" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbTripleViralDU&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                    <td class="style30">
                        17.) Fiebre Amarilla (FA)<br />
                        <strong>Dosis: Única</strong>
                    </td>
                    <td class="style19">
                        <asp:RadioButtonList ID="rbFiebreAmarillaDU" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbFiebreAmarillaDU&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td class="style2" colspan="4">
                        <strong>Al año de las terceras dosis</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style43">
                        18.) Difteria - tosferina - tétanos (DPT)<br />
                        <strong style="text-align: left">Dosis: Primer Refuerzo</strong>
                    </td>
                    <td class="style44">
                        <asp:RadioButtonList ID="rbDPTPR" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbDPTPR&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                    <td class="style46">
                        19.) Vacuna oral de polio (VOP)<br />
                        <strong>Dosis: Primer Refuerzo</strong>
                    </td>
                    <td class="style19">
                        <asp:RadioButtonList ID="rbVOPPR" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbVOPPR&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td colspan="2">
                        <strong>A los 5 años de edad</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style40">
                        20.) Difteria - tosferina - tétanos (DPT)<br />
                        <strong>Dosis: Segundo Refuerzo</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbDPTSR" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbDPTSR&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style33">
                        21.) Vacuna oral de polio (VOP)<br />
                        <strong style="text-align: center">Dosis: Segundo Refuerzo</strong>
                    </td>
                    <td class="style34">
                        <asp:RadioButtonList ID="rbVOPSR" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbVOPSR&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style40">
                        22.) Triple Viral<br />
                        Sarampión rubéola paperas (SRP)<br />
                        <strong>Dosis: Refuerzo</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbSRPR" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbSRPR&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
            </table>
            <br />
            <table border="1" class="style16">
                <tr>
                    <td colspan="2">
                        <strong>10 años después de la primera dosis</strong>
                    </td>
                </tr>
                <tr>
                    <td class="style41">
                        23.) Fiebre Amarilla (FA)<br />
                        <strong>Dosis: Refuerzo cada 10 años</strong>
                    </td>
                    <td>
                        <asp:RadioButtonList ID="rbFiebreamarillaRef" runat="server" RepeatDirection="Horizontal">
                        </asp:RadioButtonList>
                            <br /><a  href='#' onclick='open_o("Observaciones.aspx?Tabla=Web_ModuloSaludComplementario&campo=rbFiebreamarillaRef&idrespuesta=<%= iderespuesta%>",600,250 );'>Observaciones</a>
                    </td>
                </tr>
                <tr>
                    <td class="style31">
                        24.) Esquema de vacunacion adecuado a la edad</td>
                    <td class="style31">
                        <asp:RadioButtonList ID="rbesquemavacunacion" runat="server" 
                            RepeatDirection="Horizontal"  >
                        </asp:RadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="style31">
                        Observaciones Generales:
                    </td>
                    <td class="style31">
                        <asp:TextBox ID="txtObsSaludSexual" runat="server" Height="60px" TextMode="MultiLine"
                            Width="300px" />
                    </td>
                </tr>
                <tr>
                    <td class="style31" colspan="2">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td class="style31" colspan="2">
                        <asp:Button ID="btnGuardar" runat="server" CssClass="boton" Text="Guardar" />
                        <asp:Button ID="btnCancelar" runat="server" CausesValidation="false" CssClass="boton"
                            Text="Cancelar" />
                    </td>
                </tr>
            </table>
    </div>
    <script>
        esquemavacunacion();
    </script>
    </asp:Panel>
</asp:Content>
